package br.ufrgs.dbproject.algorithm.dewey;

import java.util.Stack;

public class DeweyIDFactory {
	
	private DeweyIDFactory() {}

	public static DeweyID createEmptyID() {
		return new EmptyDeweyID();
	}

	public static DeweyID createRootID() {
		
		Stack<Integer> globalIDStack = new Stack<Integer>();
		globalIDStack.push(1);
		
		return new DeweyID(globalIDStack);
	}
	
	public static DeweyID createID(Stack<Integer> globalIDStack) {
		return new DeweyID(globalIDStack);
	}
}
